$(function () {
    $("#btnAgree").on("click",function () {
        alert("ok");
    });
    $("#btnReject").on("click",function () {
        alert("reject");
    });
    $("#btnBack").on("click",function () {
        history.go(-1);
    })
})

// 验证
function formValidator(){
    $(".bootstrapValidators").bootstrapValidator({
        message: 'This value is not valid',
        feedbackIcons: {
            //valid: 'glyphicon glyphicon-ok',
            //invalid: 'glyphicon glyphicon-remove',
            //validating: 'glyphicon glyphicon-refresh'
        },
        fields:{
            agreeMessage:{
                validators:{
                    notEmpty: {
                        message: '审核意见是必填项'
                    },
                    stringLength: {
                        min: 10,
                        max: 200,
                        message: '长度必须在10-200之间'
                    },
                },
            },
        }
    });
};